home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / plotting / imagetoo / imagetl1.lha / Imagetool / HDF / dfsd.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-09-20  |  2.2 KB  |  69 lines

  1. /*****************************************************************************
  2. *              NCSA HDF version 3.10
  3. *                July 1, 1990
  4. *
  5. * NCSA HDF Version 3.10 source code and documentation are in the public
  6. * domain.  Specifically, we give to the public domain all rights for future
  7. * licensing of the source code, all resale rights, and all publishing rights.
  8. * We ask, but do not require, that the following message be included in all
  9. * derived works:
  10. * Portions developed at the National Center for Supercomputing Applications at
  11. * the University of Illinois at Urbana-Champaign.
  12. * THE UNIVERSITY OF ILLINOIS GIVES NO WARRANTY, EXPRESSED OR IMPLIED, FOR THE
  13. * SOFTWARE AND/OR DOCUMENTATION PROVIDED, INCLUDING, WITHOUT LIMITATION,
  14. * WARRANTY OF MERCHANTABILITY AND WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE
  15. *****************************************************************************/
  16.  
  17. /*
  18. $Header: /pita/work/HDF/dev/RCS/src/dfsd.h,v 3.1 90/07/02 10:11:52 clow beta $
  19.  
  20. $Log:    dfsd.h,v $
  21.  * Revision 3.1  90/07/02  10:11:52  clow
  22.  * some cosmetic modifications
  23.  * 
  24. */
  25. /*-----------------------------------------------------------------------------
  26.  * File:    dfsdg.h
  27.  * Purpose: header file for the Scientific Data set
  28.  * Invokes: dfrig.h
  29.  * Contents: 
  30.  *  Structure definitions: DFSsdg
  31.  *  Constant definitions: DFS_MAXLEN
  32.  * Remarks: This is included with user programs which use SDG
  33.  *          Currently defined to be 2-D.  Will later be increased to
  34.  *          multiple dimensions
  35.  *---------------------------------------------------------------------------*/
  36.  
  37.  
  38. #ifndef DFSDG                       /* avoid re-inclusion */
  39. #define DFSDG
  40.  
  41. #include "df.h"
  42.  
  43. #define DFS_MAXLEN 255        /*  Max length of label/unit/format strings */
  44.  
  45. /* structure to hold SDG info */
  46. typedef struct {
  47.     DFdi    data;        /* tag/ref of data in file */
  48.     int16   rank;        /* number of dimensions */
  49.     int32   *dimsizes;        /* dimensions of data */
  50.     char    *coordsys;
  51.     char    *dataluf[3];    /* label/unit/format of data */
  52.     char    **dimluf[3];    /* label/unit/format for each dim */
  53.     float32 **dimscales;    /* scales for each dimension */
  54.     float32 max_data, min_data;    /* max, min values of data */
  55. } DFSsdg;
  56.  
  57. #ifndef VMS
  58. DF* DFSDIopen();
  59. #else /*VMS*/
  60. DF* _DFSDIopen();
  61. #endif
  62.  
  63. #endif /*DFSDG*/
  64.